package com.wjk.kylin.modules.system.dict.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjk.kylin.modules.system.dict.entity.DictType;


/**
 * <p>
 *  字典类型表 服务类
 * </p>
 *
 * @author wangjkui
 * @since 2020-06-07
 */
public interface IDictTypeService extends IService<DictType> {

    IPage<DictType> findPage(Page<DictType> page, DictType dictType);

    boolean save(DictType dictType);

    boolean update(DictType dictType);

    boolean deleteByIds(String[] dictTypeIds);

    /**
     * 清空字典缓存
     */
    void clearCache();
}
